package com.example.gymlearning.dto.request;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginRequest {

    @NotBlank(message = "哥们，用户名不能为空")
    private String username;
    @NotBlank(message = "哥们，这个密码为空你咋进去呢？")
    private String password;
}
